#ifndef CHOICEREPDIALOG_H
#define CHOICEREPDIALOG_H

#include <QDialog>
#include "Image.h"

using namespace imagein;

namespace Ui {
class ChoiceRepDialog;
}

class ChoiceRepDialog : public QDialog
{
    Q_OBJECT
    
public:
    explicit ChoiceRepDialog(QWidget *parent = 0, int mode=2, const Image_t<double>& from=NULL);
    ~ChoiceRepDialog();
    double getEqPixel(double value);

public slots:
    void changeParam(int j);
    
private:
    Ui::ChoiceRepDialog *ui;
    int _maxtotal;
    int _mintotal;
    int _valuemode;
    int _valuemin;
    int _valuemax;
    int _valuecenter;
};

#endif // CHOICEREPDIALOG_H
